package structural.bridge;

// 操作系统抽象
public abstract class OperatingSystem {
    private VideoFile videoFile;

    public OperatingSystem(VideoFile videoFile) {
        this.videoFile = videoFile;
    }

    // 播放方法
    public void play(String fileName){
        videoFile.decode(fileName);
    }

}
